package com.cnyz.vo;

import com.cnyz.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "通知信息传输对象")
public class NoticeVo extends BaseVo {

    @ApiModelProperty(value = "发送方id")
    Long senderID;

    @ApiModelProperty(value = "发送方姓名")
    String senderName;

    @ApiModelProperty(value = "接收方id")
    Long receiverID;

    @ApiModelProperty(value = "接收方姓名")
    String receiverName;

    @ApiModelProperty(value = "通知标题")
    String title;

    @ApiModelProperty(value = "消息内容")
    String content;

    @ApiModelProperty(value = "时间戳")
    LocalDateTime timestamp;
}
